Mouse Event Params
fun MouseEventParams(uiEventModifierParams: UiEventModifierParams = UiEventModifierParams(), location: Point = Point.empty(), locationOnScreen: Point = Point.empty(), button: MouseEvent.Button = Button.MAIN, clickCount: Int = 0): MouseEventParams
fun MouseEventParams(uiEventModifierParams: UiEventModifierParams = UiEventModifierParams(), location: Point = Point.empty(), locationOnScreen: Point = Point.empty(), button: MouseEvent.Button = Button.MAIN, clickCount: Int = 0): MouseEventParams
Creates a new instance of MouseEventParams with the given parameters.
Since
8.0.0
Parameters
ui Event Modifier Params
The DOM event parameters with the key modifiers.
location
The location of the mouse cursor relative to the component.
location On Screen
The location of the mouse cursor relative to the screen.
button
The mouse button that triggered the event.
click Count
The number of consecutive clicks that happened in a short amount of time.